# SPDX-License-Identifier: GPL-2.0
obj-y				:= dma-mapping.o extable.o fault.o init.o \
				   cache.o copypage.o flush.o \
				   ioremap.o mmap.o pgd.o mmu.o \
				   context.o proc.o pageattr.o
ifdef CONFIG_RTOS_HAL_SELFDECOMPRESS
obj-y				+= cache_extend.o
endif
obj-$(CONFIG_HUGETLB_PAGE)	+= hugetlbpage.o
obj-$(CONFIG_PTDUMP_CORE)	+= ptdump.o
obj-$(CONFIG_PTDUMP_DEBUGFS)	+= ptdump_debugfs.o
obj-$(CONFIG_NUMA)		+= numa.o
obj-$(CONFIG_RTOS_HAL_ALIGNMENT_TRAP_AARCH32) += alignment.o
obj-$(CONFIG_DEBUG_VIRTUAL)	+= physaddr.o
obj-$(CONFIG_ARM64_MTE)		+= mteswap.o
KASAN_SANITIZE_physaddr.o	+= n

obj-$(CONFIG_KASAN)		+= kasan_init.o
KASAN_SANITIZE_kasan_init.o	:= n

obj-$(CONFIG_ARM64_PMEM_RESERVE)	+= pmem_reserve.o
obj-$(CONFIG_QUICK_KEXEC)	+= quick_kexec.o
